package com.baitai.system.domain;

import java.util.List;

import com.baitai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baitai.common.annotation.Excel;

/**
 * 接取任务关系对象 receive_task
 * 
 * @author xx
 * @date 2024-07-20
 */
public class ReceiveTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;
    @Excel(name = "任务标题")
    private String taskTitle;
    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditContent;

    /** 任务提交文件表信息 */
    private List<ReceiveTaskFile> receiveTaskFileList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setAuditContent(String auditContent) 
    {
        this.auditContent = auditContent;
    }

    public String getAuditContent() 
    {
        return auditContent;
    }

    public List<ReceiveTaskFile> getReceiveTaskFileList()
    {
        return receiveTaskFileList;
    }

    public void setReceiveTaskFileList(List<ReceiveTaskFile> receiveTaskFileList)
    {
        this.receiveTaskFileList = receiveTaskFileList;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("taskId", getTaskId())
            .append("auditStatus", getAuditStatus())
            .append("auditContent", getAuditContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("receiveTaskFileList", getReceiveTaskFileList())
            .toString();
    }
}
